package tehUtils;

public class Color {
	public static final int red    = 0xFFFF0000;
	public static final int blue   = 0xFF0000FF;
	public static final int green  = 0xFF00FF00;
	public static final int black  = 0xFF000000;
	public static final int white  = 0xFFFFFFFF;
	public static final int grey   = 0xFF888888;
	public static final int yellow = 0xFFFFFF00;
	public static final int purple = 0xFFFF00FF;
	public static final int orange = 0xFFFF6600;
	public static final int brown  = 0xFF663300;
	
	public static int get(int r, int g, int b, int a) {
		return (a * (int)Math.pow(16, 6)) + (r * (int)Math.pow(16, 4)) + (g * (int)Math.pow(16, 2)) + b;
	}
	
	public static int get(int r, int g, int b) {
		return get(r, g, b, 255);
	}
}
